package com.appbee.lyrdb.shared;

import java.util.List;

import com.appbee.core.server.requestfactory.GuiceServiceLocator;
import com.appbee.lyrdb.server.LyrDbClient;
import com.google.web.bindery.requestfactory.shared.Request;
import com.google.web.bindery.requestfactory.shared.RequestContext;
import com.google.web.bindery.requestfactory.shared.Service;

@Service(value=LyrDbClient.class,locator=GuiceServiceLocator.class)
public interface LyrDbRequest extends RequestContext
{
	Request<List<LyrSongProxy>> findByFullt(String q);
	
	Request<String> findById(String lyricId);
	
	Request<String> findFirstByFullt(String q);
}
